package com.cly.common.entity.user.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("adress")
public class Address implements Serializable {
    private static final long serialVersionUID =1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    // 用户id
    private Long userId;
    // 省
    private String province;
    // 市
    private String city;
    // 县/区
    private String county;
    // 详细地址
    private String street;
    // 收货手机号
    private String adressPhone;
    // 收货人
    private String adressName;
}
